Versions:

  • 0.26.1
  • 0.26.0
  • 0.25.0
  • 0.24.0
  • 0.23.0

bat is a command-line tool by David Peter that works as a clone of the classic cat command with additional features. Like cat, it prints the contents of files to the terminal, but it adds syntax highlighting for a large number of programming and markup languages and integrates with Git, so that lines which have been added, modified or removed relative to the repository index are marked in the margin. The program is written in Rust. It belongs to the category of command-line utilities and developer tools, with tags for cat, cli and rust. Typical use cases are reading source files, configuration files and scripts directly in the terminal with colored output, checking what has changed in a file before committing and previewing files from within other command-line tools. Developers and system administrators who spend much of their time in a shell use it as a more readable replacement for plain file output. The current version of bat is version 0.26.1, and several versions are available in the catalog.

Tags: